﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace MvcApplication1.Models.User
{
    public class SignUp
    {

        [Display(Name = "User Name")]
        [Required(ErrorMessage = "Please fill in your user name.")]
        public string UserName { get; set; }

        [Display(Name = "User Name")]
        [Required(ErrorMessage = "Please fill in your email.")]
        public string Email { get; set; }

        [Required(ErrorMessage = "Please fill in your password.")]
        public string Password { get; set; }

        [Required(ErrorMessage = "Please fill in your password.")]
        public string PasswordAgain { get; set; }
    }
}